Ext.define('rangoaqui.view.phone.popUpShowCupons', {
    extend: 'Ext.List',
    alias: 'widget.showCupons',
	id: 'showCupons',
	
    config: 
	{
        floating: true,
        centered: true,
        modal: true,
		width: '95%',
		height: '75%',
        styleHtmlContent: true,
		hideOnMaskTap: true,
		itemId: 'showCupons',
		store: 'Cupom_all',	
	
		itemTpl: [
						"<div class='cupom_lista'>",
							"<img src='resources/img/cupom_ico.png'/>",
							"<span class='dt'>{dt_data_cupon}</span>",
							"<span class='pts'>{num_pontos} pontos</span>",
						"</div>"
					],
		
		items:
		[
			{
			    xtype: 'toolbar',
                title: '&nbsp;&nbsp;&nbsp;&nbsp; Meus cupons',
                docked: 'top',
				items: [
							{
								xtype: 'button',
								//iconCls: 'delete',
								text: 'fechar',
								iconAlign: 'top',
								action: 'fecharCupons'
							}
						]
		    }			
		]
     }
});
